<?php if (!defined('THINK_PATH')) exit();?><!doctype>
<html>
<head>
	<title>视图部分</title>
	<meta charset="utf-8">
</head>
<body>
	<div style="background: green;width: 500px;height: 300px;color:white;">
		volist标签对一维数组的遍历：<br/>
		<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist): $mod = ($i % 2 );++$i; echo ($volist); ?><br/><?php endforeach; endif; else: echo "" ;endif; ?>
		volist标签对二维数组的遍历：<br/>
		<?php if(is_array($data2)): $i = 0; $__LIST__ = $data2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist): $mod = ($i % 2 );++$i; if(is_array($volist)): $i = 0; $__LIST__ = $volist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist2): $mod = ($i % 2 );++$i; echo ($volist2); endforeach; endif; else: echo "" ;endif; ?>
			<br/><?php endforeach; endif; else: echo "" ;endif; ?>
	</div>
</body>
</html>